function showSearchWord(id) {
	str=document.getElementById(id);
	str.style.backgroundPosition='0 -42px';
}
function hiddSearchWord(id) {
	str=document.getElementById(id);
	str.value='';
	str.style.backgroundPosition='0 -75px';
}

jQuery(document).ready(function($) {
var s = $('#top_foot').offset().top;
$(window).scroll(function() {
$("#top_foot").animate({
top: $(window).scrollTop() + s + "px"
},
{
queue: false,
duration: 500
})
});
$body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body');
$('#top').click(function() {
$body.animate({
scrollTop: '0px'
},
400)
});
$('#foot').click(function() {
$body.animate({
scrollTop: $('.copyright').offset().top
},
400)
});
$('#tocomment').click(function() {
$body.animate({
scrollTop: $('#comments').offset().top
},
400)
});
});